import request from '@/utils/request'
// import storage from 'store'

const mainApi = {
    startRun: '/api/v1/example/startRun',
    stepRun: '/api/v1/example/stepRun',
}

/**
 * local api
 */
export function localApi(uri, parameter) {
    return request({
        url: mainApi[uri],
        method: 'post',
        data: parameter
    })
}